﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TestMatrix.Model;

namespace TestMatrix.DataModel.Factory
{
    public class ToLinqDataSourceItem : IDataSourceItem
    {
        //TODO Linq
        private string _dbConn;

        public ToLinqDataSourceItem(string dbConn)
        {
            this._dbConn = dbConn;
        }

        public object GetDataSource()
        {
            //TODO
            return null;
        }

        public List<tblETLHistory> QueryTblETLHistory(string sql)
        {
            //TODO
            return null;
        }

        public List<tblBugList> QueryTblBugList(string sql)
        {
            //TODO
            return null;
        }

        public List<tblBugList> QueryTblBugList(string sql, params string[] args)
        {
            //TODO
            return null;
        }

        public void InsertBugs(tblBugList bugs)
        {
        
        }

        public void InsertAllBugs(List<tblBugList> bugs)
        {

        }

        public void DeleteAllBugs()
        {

        }

        public List<tblNumOfCreatedTC> QueryTblNumOfCreatedTC(string sql)
        {
            //TODO
            return null;
        }

        public List<tblNumOfCreatedTC> QueryTblNumOfCreatedTC(string sql, params string[] args)
        {
            //TODO
            return null;
        }

        public void InsertTblNumOfCreatedTC(tblNumOfCreatedTC tc)
        {

        }

        public void DeleteAllTblNumOfCreatedTC()
        {

        }

        public List<tblTestAutomation> QueryTblTestAutomation(string sql)
        {
            //TODO
            return null;
        }

        public List<tblTestAutomation> QueryTblTestAutomation(string sql, params string[] args)
        {
            //TODO
            return null;
        }

        public void InsertTblTestAutomation(tblTestAutomation tc)
        {

        }

        public void DeleteAllTblTestAutomation()
        {

        }

        public List<tblNumOfExecutedTC> QuerytblNumOfExecutedTC(string sql)
        {
            //TODO
            return null;
        }

        public List<tblNumOfExecutedTC> QuerytblNumOfExecutedTC(string sql, params string[] args)
        {
            //TODO
            return null;
        }

        public void InserttblNumOfExecutedTC(tblNumOfExecutedTC tc)
        {

        }

        public void DeleteAlltblNumOfExecutedTC()
        {

        }


        public List<tblReleaseInfo> QuerytblReleaseInfo(string sql)
        {
            //TODO
            return null;
        }

        public List<tblReleaseInfo> QuerytblReleaseInfo(string sql, params string[] args)
        {
            //TODO
            return null;
        }

        public void InserttblReleaseInfo(tblReleaseInfo tc)
        {

        }

        public void InsertAlltblReleaseInfo(List<tblReleaseInfo> tc)
        {

        }

        public void UpdatetblReleaseInfo(tblReleaseInfo tc)
        {

        }
        public void DeleteAlltblReleaseInfo()
        {

        }

        public List<tblReleaseDetailInfo> QuerytblReleaseDetailInfo(string sql)
        {
            //TODO
            return null;
        }

        public List<tblReleaseDetailInfo> QuerytblReleaseDetailInfo(string sql, params string[] args)
        {
            //TODO
            return null;
        }

        public void InserttblReleaseDetailInfo(tblReleaseDetailInfo tc)
        {

        }

        public void InsertAlltblReleaseDetailInfo(List<tblReleaseDetailInfo> tc)
        {

        }

        public void UpdatetblReleaseDetailInfo(tblReleaseDetailInfo tc)
        {

        }
        public void DeleteAlltblReleaseDetailInfo()
        {

        }

        public List<tblTestCaseInCI> QuerytblTestCaseInCI(string sql)
        {
            //TODO
            return null;
        }

        public List<tblTestCaseInCI> QuerytblTestCaseInCI(string sql, params string[] args)
        {
            //TODO
            return null;
        }

        public void InserttblTestCaseInCI(tblTestCaseInCI tc)
        {

        }

        public void DeleteAlltblTestCaseInCI()
        {

        }

        public List<tblGlobalTestCasePassRate> QuerytblGolbalTestCasePassRate(string sql)
        {
            //TODO
            return null;
        }

        public List<tblGlobalTestCasePassRate> QuerytblGolbalTestCasePassRate(string sql, params string[] args)
        {
            //TODO
            return null;
        }

        public void InserttblGolbalTestCasePassRate(tblGlobalTestCasePassRate tc)
        {

        }

        public void DeleteAlltblGolbalTestCasePassRate()
        {

        }

        public List<tblGlobalTestCaseAutomation> QuerytblGlobalTestCaseAutomation(string sql)
        {
            //TODO
            return null;
        }

        public List<tblGlobalTestCaseAutomation> QuerytblGlobalTestCaseAutomation(string sql, params string[] args)
        {
            //TODO
            return null;
        }

        public void InserttblGlobalTestCaseAutomation(tblGlobalTestCaseAutomation tc)
        {

        }

        public void DeleteAlltblGlobalTestCaseAutomation()
        {

        }

        public List<tblGlobalDRE> QuerytblGlobalDRE(string sql)
        {
            //TODO
            return null;
        }

        public List<tblGlobalDRE> QuerytblGlobalDRE(string sql, params string[] args)
        {
            //TODO
            return null;
        }

        public void InserttblGlobalDRE(tblGlobalDRE tc)
        {

        }

        public void DeleteAlltblGlobalDRE()
        {

        }
    }
}
